package com.fjl.cycle;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE )
public class TestB {
	@Autowired
	TestA ta;

	public void pr(){
		System.out.println("this.hashCode()"+this.hashCode());
		System.out.println(ta.hashCode());
	}
}
